package com.baizhi.service;

import com.baizhi.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    public Map selectAll(int page,int limit,String userName);

    public Map insert(User user);

    public Map delete(int id);

    public Map update(User user);

    public Map updates(User user);

    public Map updatea(User user);

    public User selectOne(int id);

    public Map selectAlls();

    //按照性别进行展示
    public List<Map> selectSex();
    //按照省市进行展示
    public List<Map> selectCity();
    //按照注册时间进行展示
    public Map selectDate();
}
